function TextRenderer(layout, styler){
    this._layout = layout;
    this._styler = styler;
    this._model = layout.getModel();
    this._linePartStops = 1024;
}

TextRenderer.prototype = {
    _renderLinePartHTML: function (index, partIndex){
        this._layout.getOffsetByStop();
        var fragments = this._model.getFragments(start, end);
        var styles = this._styler.getStylesOfFragments(fragments);
    }
};